package cn.iocoder.yudao.module.english.controller.admin.reward.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 奖励配置新增/修改 Request VO")
@Data
public class RewardConfigurationSaveReqVO {

    @Schema(description = "ID主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "23985")
    private Long id;

    @Schema(description = "排序", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "排序不能为空")
    private Integer sort;

    @Schema(description = "业务类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotEmpty(message = "业务类型不能为空")
    private String businessType;

    @Schema(description = "判定标准内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "判定标准内容不能为空")
    private String judgmentCriteriaContent;

    @Schema(description = "奖励数量")
    private String rewardAmount;

    @Schema(description = "备注", example = "随便")
    private String remark;

}